package com.exam.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @Description:
 * @Company：
 * @Author:
 * @Date: 2022/4/29 21:44
 * @Version 1.0
 */
@Data
public class Consult {

    private Integer id;

    private  String name;

    private String sex;

    private Integer age;

    private String question;

    private String symptom;

    private String idea;

    private String result;

    private Integer teacherId;

    private Integer userId;

    private String flag;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createDate;

    private String teacherName;

}
